// 校验错误的语句 统一封装

const REQUIRED = 'name_or_password_is_required' // 必填
const EXISTS = 'name_is_already_exists'  // 已经存在
const NOEXISTS = "name_is_not_exists"   // 不存在
const INCORRENT = "password_is_incorrent" // 密码错误
const UNAUTHORIZATION = "unauthorization" // token无效或过期
const NOPOWER = "nopower" // 没有操作权限

module.exports = {
  REQUIRED,
  EXISTS,
  NOEXISTS,
  INCORRENT,
  UNAUTHORIZATION,
  NOPOWER

}